package cn.ges.movie.vo.mv

import cn.ges.base.sta.vo.base.BgSimpleModifyVO
import cn.ges.movie.entity.MvCinema
import java.math.BigDecimal

open class MmcVO : BgSimpleModifyVO<MvCinema>() {

    var id: Long? = null

    var name: String? = null

    /**
     * 精度
     */
    var longitude: BigDecimal? = null

    /**
     * 维度
     */
    var latitude: BigDecimal? = null

    /**
     * 详细地址
     */
    var address: String? = null

    override fun check(): Boolean {
        if (longitude == null || name == null || latitude == null || address == null) {
            return false
        }
        return true
    }
}